package top.aigoo.project01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description: 顾客店铺积分映射, 某个顾客对于某个店铺的总积分是多少
 * @Author: Mr.OYSHUO.欧阳大叔  mail:1642302522@qq.com
 * @Version 1.0.0
 * @Date: 2021/9/21 21:09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserShopMap {
    //主键id
    private Long userShopId;

    //private Long userId;
    //private Long shopId;
    //private String userName;
    // private String shopName;
    //创建时间
    private Date createTime;
    //顾客在该店铺的积分
    private Integer point;
    //顾客信息实体类,哪个顾客
    private PersonInfo user;
    //店铺信息实体类，哪个店铺
    private Shop shop;

    private Product product;

}
